<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="../include/base.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>CRM客户关系管理系统</title>
	<link href="<%=basePath %>css/all.css" media="screen" rel="stylesheet" type="text/css" />
   <link href="<%=basePath %>css/application.css" media="print" rel="stylesheet" type="text/css" />
   <link href="<%=basePath %>css/blue.css" media="screen" rel="stylesheet" title="Theme" type="text/css" />
   
</head>
<body class="clearfix overview narrow_page_with_sidebar_outside webkit  windows"  onloadnot="setupZoom()">
  <div id="quick_show_window" style="display: none">
    <div class="quick_show_window_position">
      <div class="quick_show_window_wrapper">
        <div class="quick_show_window_content">
        </div>
      </div>
    </div>
  </div>

  <div id="task_flash" style="display: none">
    <div class="inner_task_flash">
    </div>
  </div>

<div id="app_header">
	<div class="background"></div>
	<div class="boundary">
		<div id="upgrade_bar"></div>
		<div id="inner_header_wrapper">
			<a href="/" id="app_logo">
			<img alt="Logo-topleft" src="<%=basePath %>img/logo-topleft.png" style="padding-top: 8px;" />
			</a>
			<table id="page_actions">
				<tr>
					<td class="tiny">
						<div class="menu_container">
							
								<span class="action">
								<a href="<%=basePath %>contact/toAddContact.action" behavior="return_to">
								<span>添加联系人</span>
								</a>
								</span>
	            	
						</div>
					
					</td>
					<td class="tiny">		
						<div class="menu_container">
							<span class="action"><a href="#" behavior="new_task_button" class="menu_target"><span>新的任务</span></a></span>
							<div id="balloon_new_task" class="balloon left menu_content task_form_balloon">
 
							<div class="balloon_pointer">
								<div class="balloon_arrow menu_target"></div>
								<div class="balloon_arrow_border"></div>
							</div>
  
  
							<div class="balloon_wrapper">
							<div class="balloon_content">
							<div class="new_task">
								<form action="/tasks" class="new_task" id="form_task" method="post"
								 onsubmit="$(this).addClassName('busy'); new Ajax.Request('/tasks', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); 
								//return false;">
									<div style="margin:0;padding:0;display:inline">
										<input name="authenticity_token" type="hidden" value="9AUKx9XbYod+gDVLMvr3nAlbuuAwyWefB0kyeei50dg=" />
									</div>
									<div id="form_body_task" class="task_form">
										<input id="context" name="context" type="hidden" value="latest" />
										<input id="from" name="from" type="hidden" value="dashboard" />
									<div class="new_task">
									<h3>添加新任务</h3>
										<p class="task_body">
										<input class="autofocus" id="body_task" name="" size="30" type="text" />
										</p>
									<div id="controls_task" class="controls">
										<h5>时间</h5>
										<p>
											<select name="task[frame]" onchange="Tasks.changeFrame(this)">
											   <option params="{&quot;task[due_at][am_pm]&quot;:&quot;pm&quot;,&quot;task[due_at][date]&quot;:&quot;2012-09-29&quot;,&quot;task[due_at][minute]&quot;:&quot;45&quot;,&quot;task[due_at][hour]&quot;:&quot;11&quot;}" selected="selected" value="today">今天</option>
											   <option params="{&quot;task[due_at][am_pm]&quot;:&quot;am&quot;,&quot;task[due_at][date]&quot;:&quot;2012-09-30&quot;,&quot;task[due_at][minute]&quot;:&quot;00&quot;,&quot;task[due_at][hour]&quot;:&quot;9&quot;}" value="tomorrow">明天</option>
											   <option params="{&quot;task[due_at][am_pm]&quot;:&quot;am&quot;,&quot;task[due_at][date]&quot;:&quot;2012-09-30&quot;,&quot;task[due_at][minute]&quot;:&quot;00&quot;,&quot;task[due_at][hour]&quot;:&quot;9&quot;}" value="this_week">本周</option>
											   <option params="{&quot;task[due_at][am_pm]&quot;:&quot;am&quot;,&quot;task[due_at][date]&quot;:&quot;2012-09-30&quot;,&quot;task[due_at][minute]&quot;:&quot;00&quot;,&quot;task[due_at][hour]&quot;:&quot;9&quot;}" value="next_week">下周</option>
											   <option params="{&quot;task[due_at][am_pm]&quot;:&quot;am&quot;,&quot;task[due_at][date]&quot;:&quot;2012-09-30&quot;,&quot;task[due_at][minute]&quot;:&quot;00&quot;,&quot;task[due_at][hour]&quot;:&quot;9&quot;}" value="later">以后</option>
											   <option params="{&quot;task[due_at][am_pm]&quot;:&quot;am&quot;,&quot;task[due_at][date]&quot;:&quot;2012-09-30&quot;,&quot;task[due_at][minute]&quot;:&quot;00&quot;,&quot;task[due_at][hour]&quot;:&quot;9&quot;}" value="specific">特殊的日子...</option>
											   </select>
											<span class="link_to_set_day_and_time">
											或者
											<a href="#" onclick="Tasks.changeFrame($(this).up(0).previous('select'), 'specific'); return false;">
											设置时间日期
											</a>
											</span>
											</p>
											<div class="set_day_and_time">
												<div class="inner">
													<input id="calendar_task" name="task[due_at][date]" type="hidden" value="2012-09-29" />
													<script type="text/javascript">
													//<![CDATA[
														async("new CalendarDateSelect(\"calendar_task\", {\"id\":\"calendar_task\"});")
													//]]>
													</script>
												<div class="set_task_time">
													at <select id="task_due_at_hour" name="task[due_at][hour]">
													<option value="1">1</option>
													<option value="2">2</option>
													<option value="3">3</option>
													<option value="4">4</option>
													<option value="5">5</option>
													<option value="6">6</option>
													<option value="7">7</option>
													<option value="8">8</option>
													<option value="9">9</option>
													<option value="10">10</option>
													<option value="11" selected="selected">11</option>
													<option value="12">12</option></select>:
													<select id="task_due_at_minute" name="task[due_at][minute]">
															<option value="00">00</option>
															<option value="15">15</option>
															<option value="30">30</option>
															<option value="45" selected="selected">45</option>
													</select>
													<select id="task_due_at_am_pm" name="task[due_at][am_pm]">
															<option value="am">am</option>
															<option value="pm" selected="selected">pm</option></select>
												</div>
												</div>
											</div>
										<h5>选择方式</h5>
											<p>
											<select id="category_task" name="task[category_id]" onchange="Tasks.changeCategory(this)">
											<option value="" selected="selected">None</option>
											<option value="3990180">Call</option>
											<option value="3990181">Demo</option>
											<option value="3990182">Email</option>
											<option value="3990183">Fax</option>
											<option value="3990184">Follow-up</option>
											<option value="3990185">Lunch</option>
											<option value="3990186">Meeting</option>
											<option value="3990187">Ship</option>
											<option value="3990188">Thank-you</option>
											<option value="new">New category...</option></select>
											<a href="/task_categories" behavior="return_to" class="edit_categories">
											编辑方式
											</a>
											</p>
											<p>
											<input name="task[public]" type="hidden" value="0" />
											<input class="checkbox" id="public_checkbox_task" name="task[public]" type="checkbox" value="1" /> 
												<label for="public_checkbox_task">对每个人都可见</label>
											</p>
    
										</div>
									</div>
									</div>
								<div class="submit">
									<p>
										<input name="commit" type="submit" value="添加保存" />
										<span>或者</span>
										<a href="#" class="menu_target admin">取消</a>
									</p>
								</div>
								</form>
							</div>
						   </div>
                         </div>
							</div>
							</div>
					</td>
					<td class="long">
						<div id="search_wrapper">
							<div class="quick_find">
								<div class="field" style="position:relative;">
									<input type="text" id="sidebar_live_search" name="term" title="a contact, case, deal, or tag..."/>
								</div>
							</div>
						</div>
					</td>
				</tr>
			</table>
			
			 
			
			
			<div id="global_links_container">
				<div class="menu_container">
			      <a href="#" class="name menu_target">
			        设置
			        <span>▼</span>
			      </a>
			      <div id="balloon_global_links" class="balloon center menu_content ">
						<div class="balloon_pointer">
							<div class="balloon_arrow menu_target"></div>
							<div class="balloon_arrow_border"></div>
						</div>
						<div class="balloon_wrapper">
							<div class="balloon_content">
								<ul class="global_links">
								<li><a href="<%=basePath%>contents/showUser.action" class="">用户</a></li>
								<li><a href="#" class="">密码重置</a></li>
								<li><a href="<%=basePath%>contents/showGroup.action" class="">分组</a></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
           </div>
		</div>
	</div>
</div>


<div id="wrapper">
	<div id="inner_wrapper">
		<div id="main_body" class="column">
			<div id="blank_slate" class="clearfix">  
			</div>
			<div id="screen_body">
				<div id="page_sidebar">
					<div class="liner">
						<div class="sidebox_wrapper">
						<div class="liner">
							<div id="dashboard_add_tasks" class="sidebox closedbox">
								<h5>你即将到来的任务</h5>
									<div id="new_task_container_for_page" class="menu_container rightside">                    
										<p>
											目前还没有任务！
										</p>
										<div id="balloon_new_task_per_page" class="balloon left menu_content balloon_edit_task">
											<div class="balloon_pointer">
												<div class="balloon_arrow menu_target"></div>
												<div class="balloon_arrow_border"></div>
											</div>
											<div class="balloon_wrapper">
												<div id="task_flash_per_page" class="balloon_flash" style="display: none">
													<div class="inner_task_flash">
													</div>

												</div>
												<div class="balloon_content">
													<div class="new_task">
													</div>
												</div>
											</div>
										</div>
										<div class="task_box_blank" id="upcoming_tasks_none" style="display:none">
										<p>你没有即将到来的任务</p>
										</div>
									</div>
									<div id="upcoming_tasks_spinner" style="text-align: center; margin-top: 20px">
										<img alt="Dots-white" src="<%=basePath %>img/dots-white.gif" />
									</div>
									<div id="upcoming_tasks" class="task_box"  style="display: none">
										<script type="text/javascript">
											//<![CDATA[
												async("new Ajax.Request('/tasks/sidebar.js?from=dashboard', {asynchronous:true, evalScripts:true, method:'get', parameters:'authenticity_token=' + encodeURIComponent('6Hj2gby7jqunHTv9MW0UUtBVjKF+U8jfgkhcn2UDzCg=')})")
											//]]>
										</script>
									</div>
							</div>
						</div>
					</div>
					</div>
				</div>
 
				<div id="page">
					<div id="page_header_wrapper">
						<div class="page_header">
    <div id="recordings_toggles">
      <span id="set_recordings_view">视图方式
	  <form action="/recordings/set_view_style" method="post" style="display: inline">
	  <div style="margin:0;padding:0;display:inline">
	  <input name="authenticity_token" type="hidden" value="4J+Bk7sT/ETGMeaWuB021FLGQ3EBL4GQiAySO6DWKxg=" />
	  </div>
	  <input id="return_url" name="return_url" type="hidden" value="https://kaisheng5.highrisehq.com/" />
	  <input id="scope" name="scope" type="hidden" value="dashboard" /><select id="view" name="view" onchange="this.up().submit()">
	  <option value="expanded">显示视图</option>
<option value="list" selected="selected">列表视图</option></select></form></span>
    </div>

    <h1>最新动态</h1>
  </div>
					</div>
            <div id="page_contents_wrapper" class="clearfix">
			 <div id="page_main_column" class="column">
                <div class="liner">
        

  <div id="recordings" class="recordings aggregated_recordings">
    <table class="list_view" cellspacing="0">
  
    
      <script type="text/javascript">
//<![CDATA[
async("Deal.populate({\"pending\":[{\"name\":\"\\u597d\\u7684\",\"id\":2249880}]})")
//]]>
</script>
<!-- 任务列表-->
<tr class="first recording task_recording hover_container private system_recording not_about_the_aggregator" id="task_recording_124658627">
      <td class="type">
        <a><span class="sprite " style="background: url(https://d1a993iq9azmzq.cloudfront.net/rev_0621f90/images/highrise_sprites.png) no-repeat -560px -272px; width: 24px; padding-top: 24px; " title="" id=""></span></a>
      </td>
      <td class="content" id="description_task_recording_124658627">
          <span class="re"><a href="/people/137020703-qs" class="permalink">联系人姓名：qs</a></span>
          <span class="body">
          <span class="excerpt">任务：Thank-you: 打高尔夫</span>
           <a class="image" href="#" onclick="if (confirm('Are you sure?')) { $('description_task_recording_124658627').addClassName('busy'); new Ajax.Request('/task_recordings/124658627', {asynchronous:true, evalScripts:true, method:'delete', parameters:'authenticity_token=' + encodeURIComponent('hhwFOyX0dUu7v2rMtlKAzuuLAuWQN323A/7kVux2W8E=')}); }; 
           //return false;">
				<span class="sprite trash" style="background: url(https://d1a993iq9azmzq.cloudfront.net/rev_0621f90/images/highrise_sprites.png) no-repeat -111px -180px; width: 10px; padding-top: 11px; " title="Delete" id="">
					删除
				</span>
		   </a>
        </span>
      </td>
	<td class="date">
		时间：Oct  2
	</td>
</tr>

   <!-- 联系人评论列表--> 
      
<tr class=" recording note hover_container written_recording not_about_the_aggregator" id="note_124621759">
	<td class="type">
        <a href="/notes/124621759">
			<span class="sprite " style="background: url(https://d1a993iq9azmzq.cloudfront.net/rev_0621f90/images/highrise_sprites.png) no-repeat -560px -176px; width: 24px; padding-top: 24px; " title="" id="">
			</span>
		</a>
     </td>
     
     <td class="content" id="description_note_124621759">
		<span class="re"><a href="/people/137018089" class="permalink">姓名：</a></span>
        <span class="body">
          <a class="permalink" title="Go to this note" href="/notes/124621759">
              <span class="excerpt">评论：</span>           
          </a>
        </span>
         <span class="by">
             默认账户： Posted by 李 小俊
          </span>
      </td>
	<td class="date">
		时间：Oct  2
	</td>
	
</tr>   
<!--交易列表-->    
<tr class=" recording deal_recording hover_container pending system_recording not_about_the_aggregator" id="deal_recording_124598127">
      <td class="type">
        <a href="/deals/2249880">
			<span class="sprite " style="background: url(https://d1a993iq9azmzq.cloudfront.net/rev_0621f90/images/highrise_sprites.png) no-repeat -560px -248px; width: 24px; padding-top: 24px; " title="" id="">
			</span>
		</a>
      </td>
      <td class="content">
          <span class="re"><a href="/deals/2249880" class="permalink">交易名字：好的</a></span>
		<span class="body">
         默认账户： 李 小.
            created the deal.    
        </span>
      </td>
  <td class="date">
   时间： Oct  2
  </td>
</tr>     
</table>
  </div>
  <script type="text/javascript">
//<![CDATA[
async("new MenuObserver('recordings')")
//]]>
</script>
                </div>
              </div>
			
			
              <div id="page_main_column" class="column">
               <div class="liner">
			   
					<div class="blank_slate">
						<h1>视窗</h1>
							<h2></h2>
							<img alt="example of the latest screen" height="491" src="<%=basePath %>img/1.jpg" width="525" />
					</div>
				</div>
              </div>
            </div>
				</div>
			</div>
    <div style="margin-top: 30px"> </div>        
		</div>
		<div id="global_sidebar" class="column">
		<div class="liner">
			<div id="global_nav">
			<ul>
			<li class="dashboard"><a href="<%=basePath %>contents/activity.action" class="selected">最新动态</a></li>
			<li class="parties"><a href="<%=basePath %>contact/showContact.action" class="">联系 <span class='stat'>0人</span></a></li>
			<li class="tasks"><a href="<%=basePath %>task/task.action" class="">任务<span class='stat'>无今天</span></a></li>
			<li class="deals"><a href="<%=basePath %>deal/deal.action" class="">交易 <span class='stat'>无</span></a></li>
			<li class="dashboard"><a href="/" class="">营销</a></li>
			</ul>
			</div>
          <div id="recent_items"><hr/>
			<h4>最近浏览</h4>
			<div class="recent_items">
				<a href="/tags/2399793" class="recent_item ">
				<span class="sprite avatar blank_avatar tag " style="background: url(<%=basePath %>img/highrise_sprites.png) no-repeat -168px -148px; width: 32px; padding-top: 32px; " title="大客户" id="">大客户</span>
				<span class="recent_name">大客户</span>
				<span class="recent_desc"></span>
				</a>
			</div>
			</div>
		</div>
    </div>
    </div>
</div>

  <hr style="display: none;" />
	<div id="preloaded_images" style="position:absolute; height:0px; overflow:hidden;">
		<img alt="Dots-white" src="<%=basePath %>img/dots-white.gif" />
		<img alt="Dots-black" src="<%=basePath %>img/dots-black.gif" />
	</div>
  <script src="<%=basePath %>js/sprockets.js" type="text/javascript"></script> 
  

</body>
</html>